//
//  UIImage+CLDraw.h
//  CLExtension
//
//  Created by CharlieLiao on 2017/8/22.
//  Copyright © 2017年 Charlie. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (CLDraw)

/// 画纯色图
+ (nonnull UIImage*)graphics:(nonnull UIColor*)color size:(CGSize)size
NS_SWIFT_NAME(init(graphics:size:));

/// 画纯色图 w:1 h:1 长宽各1像素
+ (nonnull UIImage*)graphics:(nonnull UIColor*)color
NS_SWIFT_NAME(init(graphics:));

/// 画纯色图
+ (nonnull UIImage*)hexColor:(NSUInteger)hexValue size:(CGSize)size
NS_SWIFT_NAME(init(hex:size:));

/// 画纯色图 w:1 h:1 长宽各1像素
+ (nonnull UIImage*)hexColor:(NSUInteger)hexValue
NS_SWIFT_NAME(init(hex:));

@end
